package com.lk.lkappearance.service;

import com.lk.lkappearance.model.Device;

import java.util.List;
import java.util.Map;

/**
 * @author st
 */
public interface DeviceService {


    /**
     * @param device
     * @return
     */
    Map<String,Object> add(Device device);

    /**
     * @return
     */
    Map<String,Object> modify(Device device);

    /**
     *
     * @param deviceId
     * @return
     */
    Map<String,Object> selectByPrimaryKey(String deviceId);

    /**
     * @param deviceId
     * @return
     */
    Map<String,Object> delete(String deviceId);

    /**
     *
     * @param device
     * @return
     */
    Map<String,Object> getList(Device device);

    /**
     *
     * @param device
     * @return
     */
    Map<String,Object> getListExcel(Device device);

    /**
     *
     * @param deviceList
     * @return
     */
    Map<String,Object> insertListExcel(List<Device> deviceList);

}
